<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue.js页面Demo</title>
    <script type="text/javascript"  src="/js/vue.min.js"></script>
</head>
<body>
<div id="app">
    <div v-html="message"></div>
</div>

<script>
    new Vue({
        el:'#app',
        data:{
            message:'<h1>Hello world!</h1>'
        }
    });
</script>
</body>
</html>